package cn.com.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.com.mapper.ProfessionInfoMapper;
import cn.com.beans.ProfessionInfo;
import cn.com.service.ProfessionInfoService;

import java.util.List;

@Service
public class ProfessionInfoServiceImpl implements ProfessionInfoService {

    @Resource
    private ProfessionInfoMapper professionInfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer prId) {
        return professionInfoMapper.deleteByPrimaryKey(prId);
    }

    @Override
    public int insert(ProfessionInfo record) {
        return professionInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(ProfessionInfo record) {
        return professionInfoMapper.insertSelective(record);
    }

    @Override
    public ProfessionInfo selectByPrimaryKey(Integer prId) {
        return professionInfoMapper.selectByPrimaryKey(prId);
    }

    @Override
    public int updateByPrimaryKeySelective(ProfessionInfo record) {
        return professionInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ProfessionInfo record) {
        return professionInfoMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<ProfessionInfo> findByMaid(Integer maId) {
        return professionInfoMapper.findByMaid(maId);
    }

    @Override
    public List<ProfessionInfo> findAll(ProfessionInfo professionInfo) {
        return professionInfoMapper.findAll(professionInfo);
    }

    @Override
    public List<ProfessionInfo> fuzzyQueryAll(ProfessionInfo professionInfo) {
        return professionInfoMapper.fuzzyQueryAll(professionInfo);
    }


}




